package com.gitee.neuray.security.generator.enums;

import com.sun.xml.internal.rngom.parse.host.Base;

import java.util.Objects;

/**
 * @author: zhhongyu
 * @description: 数据源类型
 * @since: Create in 14:58 2020/2/14
 */
public enum EntityColumnsEnum {
    COLUMNNAME("1","columnName"),
    DATATYPE("2","dataType"),
    COLUMNCOMMENT("3","comments"),
    COLUMNKEY("4","columnKey"),
    EXTRA("5","extra"),
    DATALENGTH("6","dataLength"),
    QUERYIF("7","queryIf"),
    LISTIF("8","listIf");
    private String index;
    private String name;
    EntityColumnsEnum(String index, String name){
        this.index = index;
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public String getIndex() {
        return index;
    }
}
